package net.pinnoocle.playdao.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.pinnoocle.playdao.entity.Inform;
import net.pinnoocle.playdao.entity.admin.InformListPageVo;
import net.pinnoocle.playdao.entity.admin.InformListSearchParams;
import net.pinnoocle.playdao.entity.web.group.GroupListPageVo;
import net.pinnoocle.playdao.entity.web.group.GroupListSearchParams;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 通知(Inform)表数据库访问层
 *
 * @author ye
 * @since 2021-11-02 11:22:28
 */
@Mapper
public interface InformDao extends BaseMapper<Inform> {

    /**
     * 通知列表
     * @param page
     * @param params
     * @return
     */
    Page<InformListPageVo> informList(Page page, @Param("params") InformListSearchParams params);
}